		<?php

		// Render profiling bar
		
		if (pref('[Loop]/features/profiling') === true)
		{
			render(pref('[Loop]/views/pathToUiProfilingBar.html'));
		}
		

		// Render all JS at then end of document, for faster loading

		$urisOfLastJavascripts = v('::urisOfLastJavascripts');

		if (is_array($urisOfLastJavascripts) === true)
		{
			foreach ($urisOfLastJavascripts as $uriOfJavascript)
			{

		?>
		<script type="text/javascript" src="<?php p(url($uriOfJavascript)); ?>"></script>
		<?php

			}
		}

		?>
	</body>
</html>
